<extend name="Index/index" />

<block name="main">
	<div id="tou">
   		<li>
   		    	<i class="icon-home home-icon"></i>
   		    	<a href="<{:U('Index/index')}>">首页</a>
   		</li>
   		<li>》</li>
   		<li class="active">用户列表</li>
	</div>
		<table class="table table-striped table-bordered table-hover">
			<thead>
				<tr align='left'>
					<th>ID</th>
					<th>用户名</th>
					<th>所属角色</th>
					<th>操作</th>
				</tr>
			</thead>
			<tbody>
			<volist name="list" id="vo">
				<tr>
					<td><{$vo.id}></td>
					<td><{$vo.name}></td>
					<td>
						<volist name="vo.role" id="role">
							<span style="color:#999"><{$role}></span>
							&nbsp;
						</volist>
					</td>
					<td>
						<a href="<{:U('AdminUser/del',array('id'=>$vo['id']))}>" class="btn btn-danger">删除</a>
						<a href="<{:U('AdminUser/edit',array('id'=>$vo['id']))}>" class="btn btn-info">修改</a>
						<a href="<{:U('AdminUser/rolelist',array('id'=>$vo['id']))}>" class="btn btn-warning">分配角色</a>
					</td>
				</tr>
			</volist>
			</tbody>
			
			
		</table>
	
</block>
